﻿using System;
using System.Linq;
using System.Text;
using SqlSugar;

namespace WLYT.Domain.Entries
{
    ///<summary>
    ///库存
    ///</summary>
    [SugarTable("Inventory")]
    public partial class Inventory
    {
           public Inventory(){

            this.ReelId =Convert.ToString("");
            this.Qty =Convert.ToInt32("0");
            this.WarehouseNo =Convert.ToString("");
            this.LocationNo =Convert.ToString("");
            this.LotNo =Convert.ToString("");
            this.Size =Convert.ToInt32("0");
            this.OriginalCode =Convert.ToString("");
            this.SupplierId =Convert.ToString("");
            this.SupplierName =Convert.ToString("");
            this.Msl =Convert.ToDecimal("0");
            this.Thickness =Convert.ToInt32("0");
            this.Diameter =Convert.ToInt32("0");
            this.ExpirationTime =DateTime.Now;
            this.GRTime =DateTime.Now;
            this.Qrcode =Convert.ToString("");
            this.Status =Convert.ToInt32("0");
            this.CreateTime =DateTime.Now;

           }
           /// <summary>
           /// Desc:贴标Id
           /// Default:
           /// Nullable:False
           /// </summary>           
           public string ReelId {get;set;}

           /// <summary>
           /// Desc:数量
           /// Default:0
           /// Nullable:False
           /// </summary>           
           public int Qty {get;set;}

           /// <summary>
           /// Desc:仓库编码
           /// Default:
           /// Nullable:False
           /// </summary>           
           public string WarehouseNo {get;set;}

           /// <summary>
           /// Desc:库位
           /// Default:
           /// Nullable:False
           /// </summary>           
           public string LocationNo {get;set;}

           /// <summary>
           /// Desc:批次
           /// Default:
           /// Nullable:False
           /// </summary>           
           public string LotNo {get;set;}

           /// <summary>
           /// Desc:
           /// Default:0
           /// Nullable:False
           /// </summary>           
           public int Size {get;set;}

           /// <summary>
           /// Desc:原厂料号
           /// Default:
           /// Nullable:False
           /// </summary>           
           public string OriginalCode {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:False
           /// </summary>           
           public string SupplierId {get;set;}

           /// <summary>
           /// Desc:供应商名称
           /// Default:
           /// Nullable:False
           /// </summary>           
           public string SupplierName {get;set;}

           /// <summary>
           /// Desc:湿敏等级
           /// Default:0
           /// Nullable:False
           /// </summary>           
           public decimal Msl {get;set;}

           /// <summary>
           /// Desc:厚度
           /// Default:0
           /// Nullable:False
           /// </summary>           
           public int Thickness {get;set;}

           /// <summary>
           /// Desc:直径
           /// Default:0
           /// Nullable:False
           /// </summary>           
           public int Diameter {get;set;}

           /// <summary>
           /// Desc:过期时间
           /// Default:DateTime.Now
           /// Nullable:True
           /// </summary>           
           public DateTime? ExpirationTime {get;set;}

           /// <summary>
           /// Desc:GR时间
           /// Default:DateTime.Now
           /// Nullable:True
           /// </summary>           
           public DateTime? GRTime {get;set;}

           /// <summary>
           /// Desc:二维码
           /// Default:
           /// Nullable:False
           /// </summary>           
           public string Qrcode {get;set;}

           /// <summary>
           /// Desc:库存状态（0：在库，1：锁定，2：出库中）
           /// Default:0
           /// Nullable:False
           /// </summary>           
           public int Status {get;set;}

           /// <summary>
           /// Desc:创建时间
           /// Default:DateTime.Now
           /// Nullable:False
           /// </summary>           
           public DateTime CreateTime {get;set;}

    }
}
